package com.jt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jt.pojo.Item;
import com.jt.vo.EasyUITable;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ItemMapper extends BaseMapper<Item>{

    @Select("select id,title,sell_point,price,num,barcode,image,cid,status,created,updated from tb_item order by updated desc limit #{start},#{rows}")
    List<Item> itemByPage(Integer start,Integer rows);
}
